<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 	xmlns="http://www.w3.org/1999/xhtml"
    	xmlns:ui="http://java.sun.com/jsf/facelets"
    	xmlns:f="http://java.sun.com/jsf/core"
    	xmlns:h="http://java.sun.com/jsf/html"
    	xmlns:p="http://primefaces.org/ui"
    	xmlns:s="http://www.suricattus.com.br/jsf/ui"
		xmlns:sf="http://www.suricattus.com.br/jsf/fn"
    	xmlns:composite="http://java.sun.com/jsf/composite">
    	
	<composite:interface>
		<composite:attribute name="autoUpdate" default="false" shortDescription="AJAX auto update. Default: false."/>
		<composite:attribute name="globalOnly" default="false" shortDescription="Default: false."/>
		<composite:attribute name="showDetail" default="false" shortDescription="Default: false."/>
		<composite:attribute name="for"/>
		<composite:attribute name="layout" default="list" shortDescription="Values: 'table', 'list'. Default: list."/>
		<composite:attribute name="rendered"/>
	</composite:interface>

	<composite:implementation>
		<p:outputPanel autoUpdate="#{cc.attrs.autoUpdate}">
			<h:messages globalOnly="#{cc.attrs.globalOnly}" 
						for="#{cc.attrs.for}" 
						errorClass="errormsg" 
						infoClass="infomsg" 
						warnClass="warnmsg"
						fatalClass="fatalmsg"
						layout="#{cc.attrs.layout}"
						showDetail="#{cc.attrs.showDetail}" />
		</p:outputPanel>
		
	</composite:implementation>

</html>
